<?php

function &get_dmz_game_zone()
{
//	$zone_arr = array(
//		5=>'初恋未满（新区）',
//		4=>'类似爱情',
//		3=>'浪漫邂逅',
//		1=>'全国电信一区',
//		101=>'全国网通一区',
//		2=>'原全国电信二区',
//		100=>'外网测试一区',
//	);
	$zone_arr = array(
		100=>'外网测试一区',
	);
	return $zone_arr;
}
//网站活动
function get_act_mysql(){
	return array(
        'host'=>'10.11.13.187',
        'port'=>'3306',
        'user'=>'game',
        'passwd'=>'game'
    ); 
}
//网站活动
function get_cms_mysql(){
	return array(
        'host'=>'10.11.13.187',
        'port'=>'3306',
        'user'=>'game',
        'passwd'=>'game'
    ); 
}
//网官
function get_xx5_mysql($type=1){
	if($type==1){//主库
		return array(
			'host'=>'10.11.13.187',
			'port'=>'3306',
			'user'=>'game',
			'passwd'=>'game'
		);
	}
}
//帐单
function get_dmz_mysql_bill(){
	return array(
		'host'=>'10.11.13.183',
        'port'=>'3306',
        'user'=>'dmz',
        'passwd'=>'dmz8PHtvbRZoEZdS'
    );
}
//电一
function get_dmz_mysql_zone_1($type=0){
	if($type==1){//主库
		return array(
			'host'=>'10.21.2.185',
			'port'=>'3306',
			'user'=>'search',
			'passwd'=>'GZj4yngYWRXZtlUDJFeE'
		);
	}else{
		return array(
			'host'=>'10.21.2.194',
			'port'=>'3307',
			'user'=>'search',
			'passwd'=>'GZj4yngYWRXZtlUDJFeE'
		);
	}
}
//电三和原电二
function get_dmz_mysql_zone_3($type=0){
	if($type==1){//主库
		return array(
			'host'=>'10.21.2.21',
			'port'=>'3306',
			'user'=>'search',
			'passwd'=>'GZj4yngYWRXZtlUDJFeE'
		);
	}else{
		return array(
			'host'=>'10.21.2.12',
			'port'=>'3308',
			'user'=>'search',
			'passwd'=>'GZj4yngYWRXZtlUDJFeE'
		);
	}
}
//电四
function get_dmz_mysql_zone_4($type=0){
	if($type==1){//主库
		return array(
			'host'=>'10.21.2.187',
			'port'=>'3306',
			'user'=>'search',
			'passwd'=>'GZj4yngYWRXZtlUDJFeE'
		);
	}else{
		return array(
			'host'=>'10.21.2.193',
			'port'=>'3307',
			'user'=>'search',
			'passwd'=>'GZj4yngYWRXZtlUDJFeE'
		);
	}
}
//电五
function get_dmz_mysql_zone_5($type=0){
	if($type==1){//主库
		return array(
			'host'=>'10.21.2.199',
			'port'=>'3306',
			'user'=>'search',
			'passwd'=>'GZj4yngYWRXZtlUDJFeE'
		);
	}else{
		return array(
			'host'=>'10.21.2.194',
			'port'=>'3309',
			'user'=>'search',
			'passwd'=>'GZj4yngYWRXZtlUDJFeE'
		);
	}
}
//网通区
function get_dmz_mysql_zone_101($type=0){
	if($type==1){//主库
		return array(
			'host'=>'10.21.2.11',
			'port'=>'3306',
			'user'=>'search',
			'passwd'=>'GZj4yngYWRXZtlUDJFeE'
		);
	}else{
		return array(
			'host'=>'10.21.2.12',
			'port'=>'3307',
			'user'=>'search',
			'passwd'=>'GZj4yngYWRXZtlUDJFeE'
		);
	}
}
//外网
function get_dmz_mysql_zone_100(){
	return array(
        'host'=>'10.11.13.183',
        'port'=>'3306',
        'user'=>'dmz',
        'passwd'=>'dmz8PHtvbRZoEZdS'
    );
}
//cache配置
function get_act_cache_config(){
	return array( 
			0 => array( 'host' => '10.11.13.187', 'port' => 11212)	);
}

?>